import type { App } from 'vue'

import GeneratorLayout from '@/layouts/GeneratorLayout.vue'
import EditWrapper from '@/components/Editable/edit-wrapper.vue'
import EditInput from '@/components/material/edit-input.vue'
import EditSelect from '@/components/material/edit-select.vue'
import EditRange from '@/components/material/edit-range.vue'
import EditButton from '@/components/material/edit-button.vue'

export default function register(app: App) {
  app
    .component('GeneratorLayout', GeneratorLayout)
    .component('editable-wrapper', EditWrapper)
    .component('EditInput', EditInput)
    .component('EditSelect', EditSelect)
    .component('EditRange', EditRange)
    .component('EditButton', EditButton)
}
